package mskruch.gps.exporter;


import java.io.OutputStream;

import mskruch.gps.Track;

/**
 * Track file exporter interface
 * @author przednowek
 *
 */
public interface TrackExporter {
	/**
	 * 
	 * @param tracks - track array
	 * @param ostream - OutputStream to write exported data 
	 */
	public void exportTracks(Track[] tracks, OutputStream ostream);
	
	/**
	 * 
	 * @param tracks - track array
	 * @param ostream - OutputStream to write exported data
	 * @param exportParameters - additional export parameters such as creator name
	 */
	public void exportTracks(Track[] tracks, OutputStream ostream, ExportParameters exportParameters);
}
